import request from '../axios';

export function getallpeople(data) {
    console.log(data)
    return request({
      url: '/people/getallpeople',
      method: 'get',
      data:data,
    });
  }

  export function addpeople(data) {
    console.log(data)
    return request({
      url: '/people/addpeople',
      method: 'post',
      data:data,
    });
  }

  export function deletepeople(data) {
    console.log(data)
    return request({
      url: '/people/deletepeople',
      method: 'post',
      data:data,
    });
  }